package com.xinzhidi.web.equipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinzhidi.common.core.page.TableDataInfo;
import com.xinzhidi.web.equipment.domain.EquipmentArchivesRestore;
import com.xinzhidi.web.equipment.dto.EquipmentArchivesRestoreAddDto;
import com.xinzhidi.web.equipment.dto.EquipmentArchivesRestoreListDto;
import com.xinzhidi.web.equipment.dto.EquipmentArchivesRestoreUpdDto;
import com.xinzhidi.web.equipment.vo.EquipmentArchivesRestoreInfoVo;
import com.xinzhidi.web.equipment.vo.EquipmentArchivesRestoreListVo;


/**
 * 存档恢复记录Service接口
 *
 * @author ruoyi
 * @date 2023-07-21
 */
public interface IEquipmentArchivesRestoreService extends IService<EquipmentArchivesRestore> {
    /**
     * 查询存档恢复记录
     *
     * @param id 存档恢复记录主键
     * @return 存档恢复记录
     */
    EquipmentArchivesRestoreInfoVo selectEquipmentArchivesRestoreById(Long id);

    /**
     * 查询存档恢复记录列表
     *
     * @param dto 存档恢复记录
     * @return 存档恢复记录集合
     */
    TableDataInfo<EquipmentArchivesRestoreListVo> selectEquipmentArchivesRestoreList(EquipmentArchivesRestoreListDto dto);

    /**
     * 新增存档恢复记录
     *
     * @param dto 存档恢复记录
     * @return 结果
     */
    int insertEquipmentArchivesRestore(EquipmentArchivesRestoreAddDto dto);

    /**
     * 修改存档恢复记录
     *
     * @param dto 存档恢复记录
     * @return 结果
     */
    int updateEquipmentArchivesRestore(EquipmentArchivesRestoreUpdDto dto);

    /**
     * 批量删除存档恢复记录
     *
     * @param ids 需要删除的存档恢复记录主键集合
     * @return 结果
     */
    int deleteEquipmentArchivesRestoreByIds(Long[] ids);

    /**
     * 删除存档恢复记录信息
     *
     * @param id 存档恢复记录主键
     * @return 结果
     */
    int deleteEquipmentArchivesRestoreById(Long id);

    int addRestore(Long[] ids);
}
